package com.hzncc.flowable_diboot.contract.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.diboot.core.entity.BaseModel;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import jakarta.validation.constraints.NotNull;

/**
* 合同团队 Entity 定义
* @author MyName
* @version 1.0
* @date 2024-08-22
* Copyright © MyCorp
*/

@TableName("mdl_contract_team_member")
@Getter @Setter @Accessors(chain = true)
public class ContractTeam extends BaseModel {
    private static final long serialVersionUID = 1405006925270936771L;

    /**
     * 租户
     */
    @NotNull(message = "租户不能为空")
    @TableField()
    private String tenantId;

    /**
     * 成员主键
     */
    @TableField()
    private String memberId;

    /**
     * 合同主键
     */
    @TableField()
    private String contractId;


}